<?php


class goodsAction extends action
{
	var $actions=array(
		'goodsList'=>array('template'=>'index.html'),
	);
	
	
	function goodsListAction()
	{
		$model=S::loadModel('goods');
		$list=$model->goodsList();
		$this->assign('test', $list);
	}
	
	function goodsinfoAction()
	{
		$this->assign('goods', 'this is a new one');
	}

}
